.register-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
  background-color: #f5f7fa;
  box-sizing: border-box;
}
.register-container .register-header {
  text-align: center;
  margin: 40px 0 30px;
}
.register-container .register-header .register-title {
  font-size: 28px;
  color: #323233;
  margin-bottom: 10px;
  font-weight: 600;
  background: #333;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.register-container .register-header .register-title.mobile-title {
  font-size: 24px;
}
.register-container .register-header .register-subtitle {
  font-size: 16px;
  color: #646566;
}
.register-container .register-form {
  flex: 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.register-container .register-form .password-toggle {
  color: #969799;
  cursor: pointer;
}
.register-container .register-form .terms-agreement {
  padding: 15px 16px;
  font-size: 14px;
  color: #646566;
}
.register-container .register-form .terms-agreement .terms-link {
  color: #3a7afe;
  text-decoration: underline;
}
.register-container .register-form .register-button {
  margin: 10px 16px 20px;
}
@media (min-width: 768px) {
  .register-container .register-form .register-button {
    margin: 20px 16px 30px;
  }
}
.register-container .alternative-options {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.register-container .alternative-options .divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
}
.register-container .alternative-options .divider::before,
.register-container .alternative-options .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ebedf0;
}
.register-container .alternative-options .divider .divider-text {
  padding: 0 15px;
  font-size: 14px;
  color: #969799;
}
.register-container .alternative-options .social-logins {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.register-container .alternative-options .social-logins .van-button {
  width: 50px;
  height: 50px;
  font-size: 20px;
  color: #3a7afe;
}
.register-container .login-link {
  text-align: center;
  margin: 30px 0 20px;
  font-size: 14px;
  color: #646566;
}
.register-container .login-link .link {
  color: #3a7afe;
  margin-left: 5px;
  cursor: pointer;
  font-weight: 500;
}
/* PC端样式 */
@media (min-width: 768px) {
  .register-container {
    justify-content: center;
    padding: 40px;
  }
  .register-container .register-header {
    margin: 0 0 30px;
  }
  .register-container .register-form {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 6px 20px rgba(58, 122, 254, 0.1);
  }
  .register-container .alternative-options {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 40px;
    box-shadow: 0 6px 20px rgba(58, 122, 254, 0.1);
  }
}
/* 移动端样式调整 */
@media (max-width: 767px) {
  .van-cell-group {
    margin: 0 !important;
  }
  .van-field {
    padding: 12px 16px;
  }
  .register-header {
    margin: 20px 0 !important;
  }
}
